package com.ypaco.ajax.client;

import com.google.gwt.user.client.Window;

public class ErrorAlerter {
	public ErrorAlerter()
	{
		
	}
	
	public static void alertException(Throwable ex)
	{
		alertMessage(ex.getMessage());
	}
	
	public static void alertMessage(String message)
	{
		Window.alert(message);
	}

}
